#ifndef __CC_ETH_H__
#define __CC_ETH_H__

#include <stdint.h>

struct ethhdr
{
    uint8_t dest[6];
    uint8_t source[6];
    uint16_t proto;
};

enum eth_proto
{
    ETH_PROTO_IP=0x0800,
    ETH_PROTO_ARP=0x0806,
};

static const uint8_t ETH_ADDR_NONE[6] = {0};
static const uint8_t ETH_ADDR_BROADCAST[6] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};

#endif
